import Vue from "vue";
import App from "./App.vue";
import axios from "axios";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// 引入 Vconsole
// import Vconsole from 'vconsole'

// 所有环境均使用
// new Vconsole()
Vue.config.productionTip = false;
Vue.use(ElementUI);

Vue.use(axios);
Vue.directive("title", {
  //单个修改标题
  inserted: function (el, binding) {
    document.title = el.dataset.title;
  },
});

new Vue({
  render: (h) => h(App),
}).$mount("#app");
